package com.ethink.order.common.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ethink.order.api.model.SaleReturnModeModel;
import com.ethink.order.api.model.SaleReturnModel;
import com.ethink.order.api.request.SaleReturnOrderQueryModeRequest;
import com.ethink.order.api.request.SaleReturnOrderQueryRequest;
import com.ethink.order.common.entity.SaleReturnOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 销售退单 Mapper接口
 *
 * @author default
 * @date 2022-12-09
 */
@Mapper
public interface SaleReturnOrderMapper extends MyBaseMapper<SaleReturnOrder> {


    Page<SaleReturnModel> pageQuery(Page buildPage, @Param("request") SaleReturnOrderQueryRequest request);

    Page<SaleReturnModeModel> pageQueryMode(Page buildPage, @Param("request") SaleReturnOrderQueryModeRequest request);

}